package com.mage.bean;

import java.util.Date;

public class Chongzhi {

    private int id;

    private int userid;

    private String username;

    private Double money;

    private String czmethod;

    private Date createtime;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getCzmethod() {
        return czmethod;
    }

    public void setCzmethod(String czmethod) {
        this.czmethod = czmethod;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "Chongzhi{" +
                "id=" + id +
                ", userid=" + userid +
                ", username='" + username + '\'' +
                ", money=" + money +
                ", czmethod='" + czmethod + '\'' +
                ", createtime=" + createtime +
                '}';
    }

    public Chongzhi(int id, int userid, String username, Double money, String czmethod, Date createtime) {
        super();
        this.id = id;
        this.userid = userid;
        this.username = username;
        this.money = money;
        this.czmethod = czmethod;
        this.createtime = createtime;
    }

    public Chongzhi(){
        super();
    }
}
